.p-inputnumber {
    &.p-error > .p-inputtext,
    &.p-invalid > .p-inputtext {
        @include invalid-input();
    }
}